import { ThreeLoader } from "../three/loader";
import { ThreeSprite } from "../three/sprite";

export class MurdererSprite {
    private threeLoader = new ThreeLoader();
    private threeSprite = new ThreeSprite();

    // 加载嫌疑人
    load() {
        const texture = this.threeLoader.texture().load('./assets/images/murderer.png');
        const murderer = this.threeSprite.create(texture);
        murderer.name = 'murderer';
        murderer.scale.set(12, 12, 12);
        murderer.position.set(43, -1.5, -20);
        return murderer;
    }

}